package org.javaopenaccess.dao.user;

import org.javaopenaccess.model.User;
import org.javaopenaccess.service.user.UserNotFoundException;
/**
 * Data acces to the user is provided through this
 * interface. 
 * @author Miku
 *
 */
public interface UserDao{
	
	void storeUser(User user);
	
	User getUser(User user) throws UserNotFoundException;

	User getUser(String userName)throws UserNotFoundException;
	
}
